<?php

class Group_model extends MY_Model
{
    protected $_table = 'chatgroup';   
    protected $primary_key = 'groupid';   
    
    function group_by_id($id)
    {
    	return $this->get_array($id);
    }
}
